home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 39 / Issue 39.iso / pc / PCSoftware / Internet Charactor Animator / intchaan.exe / %TEMP% / JaVRML.inf < prev    next >
Encoding:
Windows Setup INFormation  |  2000-09-27  |  5.3 KB  |  160 lines

  1. ; Template for master.inf
  2. ; Copyright 1996, 1997 Microsoft Corporation
  3. ; Version 2.0, 3 June 1997
  4.  
  5. ; This inf file controls the user's installation of your Java
  6. ; classes. It is provided as a template; make a copy and modify the copy.
  7. ; This file is separated into sections; be sure to make the 
  8. ; necessary changes in each one.
  9. ; See the SDK for Java documentation (under Tools) for information on
  10. ; using this file with the cabarc.exe utility to distribute Java classes.  
  11.  
  12. [hook1]
  13.  
  14. ; In this line, replace CabFileName.cab with the inner CAB file name
  15. ; that contains your classes.  
  16.  
  17. run=extrac32.exe /e /a /y /l %49000% JaVRML.cab
  18.  
  19. [hook2]
  20.  
  21. ; Change the name of master.inf to the name you are assigning this
  22. ; file. Leave the second line alone.
  23.  
  24. InfFile=JaVRML.inf
  25. InfSection=RegistryData
  26.  
  27.  
  28. [Strings]
  29. ; Running guidgen in the SDK generates the ClassId you need to fill 
  30. ; in here. This classId also goes in the OBJECT tag.
  31. ; Don't forget the set braces!
  32.  
  33. ClassId="{97245060-2FB2-11d3-B21B-00104B280554}"
  34.  
  35. ; Put the name by which your packages should be referred to 
  36. ; (i.e. "Bob's Text Viewer") here.
  37.  
  38. PackageName="JaVRML classes"
  39.  
  40. [AddRegSection]
  41.  
  42. ; Leave this line.
  43. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%",,,"%PackageName%"
  44.  
  45. ; Replace <aa...> with the version number (like 1,0,0,1) of this
  46. ; version of your library. This is so that when you want to update
  47. ; your libraries, you can change the version rather then the classId
  48. ; and the problems that go with that. If the version number here
  49. ; and in the OBJECT tag match the version already stored on the
  50. ; user's machine, it will not download the classes again, which
  51. ; also saves time and energy.
  52.  
  53. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InstalledVersion",,,"1,0,5,0"
  54.  
  55. ; Here, replace <filename> with the name of one of the class files in
  56. ; your package, including the virtual path (specified in classpck.ddf)
  57. ; to that file. This will make sure that the classes exist on the
  58. ; user's system; if they don't, they will be downloaded, regardless
  59. ; of version numbers.
  60.  
  61. HKLM,"Software\Classes\CLSID\%ClassId%\InstalledVersion","Path",,"%49000%\com\parallelgraphics\scene\"
  62.  
  63. ; Leave these keys alone.
  64.  
  65. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32",,,"%11%\MSJAVA.DLL"
  66. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","NoJavaClass",,""
  67. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","ThreadingModel",,"Both"
  68.  
  69.  
  70. ; Under most circumstances, you should leave the next two keys alone.
  71. ; Only change them if
  72. ; 1) You have not expanded the classes into their subdirectories on
  73. ; the user's machine, but have instead stored them in an uncompressed
  74. ; .ZIP file; in that case, change the appropriate value
  75. ; to "%49000%\<ZipFileName>".
  76. ;
  77. ; 2) You have decided to install the files onto another, hard-coded
  78. ; directory of your choice. This is not recommended, for you will
  79. ; clutter up the user's directories and have to make other changes.
  80. ; If you do so, though, change the appropriate value to the absolute
  81. ; pathname to that directory, and change it in the run= line above.
  82. ;
  83. ; If you use one of these, you will use exactly one.
  84.  
  85. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","Lib",,"%49000%"
  86. ;HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","TrustedLib",,"%49000%"
  87.  
  88.  
  89. ; ***************************************************************
  90. ; THE NEXT SECTION IS TO BE CHANGED IF YOU WANT TO INSTALL
  91. ; NATIVE CODE (DLLS, ETC.) ON THE USER'S MACHINE. PLEASE BE
  92. ; RESPONSIBLE ABOUT THIS USE.
  93. ; ***************************************************************
  94.  
  95. ; This template assumes you are installing all items into the
  96. ; <windir>\system directory, and that they are all in 8.3 form. 
  97. ; If you need something more complex, update the INF appropriately. 
  98.  
  99. ; Leave these three lines.
  100. [RegistryData]
  101. AddReg=AddRegSection
  102. CustomDestination=MyCustomDestination
  103.  
  104. ;; If you are installing native code, you will want to uncomment all
  105. ;; the lines in the remainder of this section, except for the ones 
  106. ;; that are descriptive (and have two semicolons).
  107.  
  108. ; CopyFiles=OtherFiles
  109.  
  110. ;[DestinationDirs]
  111. ;OtherFiles=11
  112.  
  113. ;[OtherFiles]
  114. ;; List the name of each file (delimited by returns) here.
  115. ;; Just list the local name--no need for paths, etc. Example:
  116. ;; foo1.dll,,,32
  117. ;; foo2.dll,,,32
  118.  
  119. ;[SourceDisksFiles]
  120. ;; For each name listed in the above section, you will want to put
  121. ;; <filename>=1 on this list. So it would look like
  122. ;; foo1.dll=1
  123. ;; foo2.dll=1
  124.  
  125. ;[SourceDisksNames]
  126. ;1=%PackageName%,"",0
  127.  
  128.  
  129. ; **************************************************************
  130. ; END OF NATIVE CODE SECTION
  131. ; **************************************************************
  132.  
  133. [PackageDestination49000]
  134.  
  135. ; This value should only change if you have decided to place your
  136. ; classes in the TrustedClasspath. In that case, you
  137. ; will change "LibsDirectory" to "TrustedLibsDirectory".
  138.  
  139. "HKLM","Software\Microsoft\Java VM","LibsDirectory","",""
  140.  
  141. ; *************************************************
  142. ; THE REMAINDER OF THIS FILE SHOULD NOT BE CHANGED.
  143. ; *************************************************
  144.  
  145. [Setup Hooks]                
  146. hook1=hook1
  147. hook2=hook2
  148.  
  149. [Version]
  150. signature="$CHICAGO$"
  151. AdvancedINF=2.0
  152.  
  153.  
  154. [DefaultInstall]
  155. CustomDestination=MyCustomDestination
  156. AddReg=AddRegSection
  157.  
  158. [MyCustomDestination]
  159. 49000=PackageDestination49000,23
  160.